home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 July / Chip_2000-07_cd.bin / sharewar / vbshpdfc / Install.exe / VB Shaped Form Creator.CAB / FormAnimator Readme.txt < prev    next >
Text File  |  2000-04-13  |  3KB  |  64 lines

  1. Readme for VBSFC FormAnimator 13/4/2000
  2. =======================================
  3.  
  4. Usage:
  5. ------
  6. This utility takes two shaped forms generated by VB Shaped
  7. Form Creator <http://www.ByAlexV.com/VBSFC.html> and generates
  8. an animation to morph one into the other, which is then
  9. applied to one of the two input forms producing an animated
  10. shaped form.
  11.  
  12. Both input forms must have the same number and type of shapes,
  13. in the same order, with the same addition mode and, in the
  14. case of polygons, have the same number of points.  The easiest
  15. way to ensure these conditions are met is to draw a form,
  16. save it (or modify an existing form), then use the Edit mode
  17. to modify it to produce the second shape (without deleting or
  18. adding any shapes or polygon points - only moving is allowed!)
  19. then save that second shape as a separate form.  The
  20. FormAnimator can then be used to animate the first form with
  21. the second form as the Final Position form.
  22.  
  23. Code Produced:
  24. --------------
  25. An extra parameter is added to the CreateFormRegion sub,
  26. called Anim.  This is a Double value which should take values
  27. between 0 and 1.  When it is 0 the region produced is the
  28. initial form shape, when it is 1 it is the final form shape,
  29. and for all fractional values between 0 and 1 an intermediate
  30. shape is produced.  Because the intermediate is produced
  31. mathematically there is no limit (except for the display
  32. capabilities of the screen) to the size of the step that can
  33. be taken.
  34.  
  35. If an existing form is being modified all CreateFormRegion
  36. calls are adjusted to pass a parameter of 0 for the Anim
  37. property, so existing code should continue to work as
  38. expected.  If the ExampleAnimate checkbox has been selected
  39. then an additional sub will be produced giving an example of
  40. how the Anim parameter can be used to produce animation.
  41.  
  42. Another example is provided in the form of the About box for
  43. this utility.  The source for this is included in the program
  44. zip file, and shows how to use a timer to continuosly animate
  45. a form.  The animation was produced from About1.frm to
  46. About2.frm, modifying About1.frm.  About2.frm and the Images
  47. folder are provided for information only, they are not needed
  48. to run the demo project.
  49.  
  50. Installation:
  51. -------------
  52. If VBSFC is installed then all necessary runtimes will be
  53. already installed, and there is no need for any special
  54. installation of this utility.
  55.  
  56. Comments/Bug Reports
  57. --------------------
  58. This utility will become a part of VBSFC at version 6.  Until
  59. then it is in Beta Test.  Bug Reports and Comments are very
  60. welcome, and should be sent to AlexV@ComPorts.com
  61.  
  62. ==END==
  63.  
  64.